package com.ocom.payhandle.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.human.EntityPersonnelInfo;


public interface PersonnelInfoService extends IService<EntityPersonnelInfo> {

    EntityPersonnelInfo selectPersonnel(Long companyId, Long pId);

    EntityPersonnelInfo selectPerInfoName(Long companyID, Integer pId);

    EntityPersonnelInfo verifyPassword(Long companyId, Long pId);

    EntityPersonnelInfo  getPersonByPhone(Long companyId, String phone);

    public EntityPersonnelInfo addPerson(Long companyId, EntityPersonnelInfo entityPersonnelInfo ) ;

    EntityPersonnelInfo getOnePersonInfo(Long comId, Long pId);

    EntityPersonnelInfo  getPersonByPCode(Long companyId, String pCode);

}
